package com.slwu.builder;

/**
 * 复杂对象，角色类
 * @author wushaolin
 * @since 2023-11-27
 */
public class Actor {

    private String type;    // 角色类型
    private String sex;     // 性别
    private String face;    // 脸型
    private String costume; // 服装
    private String hairstyle;   // 发型

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getFace() {
        return face;
    }

    public void setFace(String face) {
        this.face = face;
    }

    public String getCostume() {
        return costume;
    }

    public void setCostume(String costume) {
        this.costume = costume;
    }

    public String getHairstyle() {
        return hairstyle;
    }

    public void setHairstyle(String hairstyle) {
        this.hairstyle = hairstyle;
    }

    @Override
    public String toString() {
        return "角色类型：" + type + "\n性别：" + sex + "\n脸型：" + face + "\n服装：" + costume + "\n发型：" + hairstyle;
    }
}
